#include <sys/socket.h>
#include <sys/types.h>
#include <arpa/inet.h>


#define lenght_of_username 20
struct Connect_Info{
    int connectfd;
    int user_shm_id;
    int location;
    int user_id;
    char username[lenght_of_username];
    struct sockaddr_in client_addr;
    struct Connect_Info* next_connect_info;
};

typedef struct Message_Header
{
    char username[lenght_of_username];
    int n_people;
};

typedef struct USER_PASSWD
{
    char username[lenght_of_username];
    char password[20];
};

